
package finalproject.client;

import java.util.List;


import finalproject.shared.Docent;
import finalproject.shared.Student;
import finalproject.shared.Vak;
import finalproject.shared.Absentie;

import com.google.gwt.user.client.rpc.AsyncCallback;


public interface ProjectServiceAsync  {
    
   
    void listDocenten(AsyncCallback<List <Docent>> callback);
    
    void addDocent(Docent docent, AsyncCallback<Void> callback);
    
   
    void removeDocent(Docent docent, AsyncCallback<Void> callback);
    
    void updateDocent(Docent docent, AsyncCallback<Void> callback);
   
    void listStudenten(AsyncCallback<List <Student>> callback);
    
   
    void addStudent(Student student, AsyncCallback<Void> callback);
    
  
    void removeStudent(Student student, AsyncCallback<Void> callback);
    
    
    void updateStudent(Student student, AsyncCallback<Void> callback);
    
    
    void listVakken(AsyncCallback<List <Vak>> callback);
    
   
    void addVak(Vak vak, AsyncCallback<Void> callback);
  
    void removeVak(Vak vak, AsyncCallback<Void> callback);
    
   
    void updateVak(Vak vak, AsyncCallback<Void> callback); 
    
    
    void listAbsenties(AsyncCallback<List<Absentie>> callback );
    
   
    void addAbsentie(Absentie absentie, AsyncCallback<Void> callback);
    
    
    void removeAbsentie(Absentie absentie, AsyncCallback<Void> callback);
    
   
    void updateAbsentie(Absentie absentie, AsyncCallback<Void> callback);       
    
}
